package com.sfac.springboot.modules.account.entity;

import com.sfac.springboot.modules.common.entity.AbstractEntity;
import lombok.Data;

import java.util.List;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;


/**
 * @author jzq
 * @date 2022/8/26 19:47
 */
@SuppressWarnings({"all"})
@Entity
@Table(name = "account_resource")
@Data
public class Resource extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    private String permission;

    @Transient
    private List<Role> roles;


}
